package io.gbznt.modules.buss.dao;

import io.gbznt.modules.buss.entity.BussRtuSendRecordEntity;
import io.gbznt.modules.buss.entity.BussRtuWarningRecordEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 告警记录
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-05-08 16:37:38
 */
@Mapper
public interface BussRtuWarningRecordDao extends BaseMapper<BussRtuWarningRecordEntity> {
	/**
	 * 获取时间最晚的告警记录
	 * 
	 * @param params
	 * @return
	 */
	List<BussRtuWarningRecordEntity> getGjjlMax(Map<String, Object> params);

}
